load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "binarylog",
    srcs = [
        "binarylog.go",
        "binarylog_testutil.go",
        "env_config.go",
        "method_logger.go",
        "sink.go",
        "util.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/google.golang.org/grpc/internal/binarylog",
    importpath = "google.golang.org/grpc/internal/binarylog",
    visibility = ["//vendor/google.golang.org/grpc:__subpackages__"],
    deps = [
        "//vendor/github.com/golang/protobuf/proto",
        "//vendor/github.com/golang/protobuf/ptypes",
        "//vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1",
        "//vendor/google.golang.org/grpc/grpclog",
        "//vendor/google.golang.org/grpc/metadata",
        "//vendor/google.golang.org/grpc/status",
    ],
)
